package com.ruoyi.admin.model.response;

import lombok.Data;

import java.util.List;

@Data
public class PaperDetailResp {
    //主键id
    private Long paperId;
    //试卷名称
    private String paperName;
    //试卷类型
    private Integer paperType;
    //试卷状态
    private Integer paperStatus;
    //倒计时
    private Integer countdown;

    private Long userPaperId;

    private List<ModuleDTO> moduleList;

    @Data
    public static class ModuleDTO {
        //试卷id
        private Long paperId;
        //模块类型
        private Integer moduleType;
        //模块名称
        private String moduleName;

        private List<TopicDTO> topicList;
    }

    @Data
    public static class TopicDTO {
        private Long topicId;
        //试卷id
        private Long paperId;
        //试卷模块id
        private Integer moduleType;

        private String moduleName;
        //题目
        private String topic;
        //题目内容
        private String content;

        private List<QuestionInfoResp> questionList;
    }

}
